<?php echo validation_errors(); ?>
<?php echo form_open('category/edit');?>
<h5>分类名称</h5>
<input type="text" name="name" value="<?php echo $cate['name']; ?>"/>
<input type="text" name="ename" value="<?php echo $cate['ename']; ?>"/>
<input type="hidden" name="cid" value="<?php echo $cate['cid']; ?>" />
<input type="submit" value="保存" />
</form>